import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import axios from '@/utils/request.js' // 接口请求
import '@/utils/global' // 全局
import '@/styles/index.css' // 全局样式
import 'font-awesome/css/font-awesome.min.css' // 字体图标库样式

// import '@/utils/highLight.js' // 代码高亮指令
import Highlight from '@/utils/highLight.js'

Vue.prototype.axios = axios

// elementui
Vue.use(ElementUI)
Vue.use(Highlight)

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
